package ${groupId}.${artifactId}.service;

import java.util.List;
import java.util.Map;

import ${groupId}.${artifactId}.model.${model};

 
/**
 * Service interface .
 * 
 * Created On ${createdTime}
 * @author Code Generator
 * @version $Id$
 */
public interface ${service}Service{

	public ${model} get${model}(Integer id);
	
	public List<${model}> getAll();
	
	public ${model} update(${model}  ${model.lowerCaseFirst});
	
	public void save(${model}  ${model.lowerCaseFirst});
	
	public void delete(${model}  ${model.lowerCaseFirst});
	
	public List<${model}> getPage(int pageNumber,int pageSize);
	
	public Integer getTotalPageCount(int pageSize);
	
	public List<${model}> getPage(int pageNumber, int pageSize, String condition,Map<String,Object> params);
	
	public Integer getPageCount(int pageSize, String condition,Map<String,Object> params);
}